package javaroke.negocio;


import java.util.Collection;

import javaroke.dao.NoticiaDAO;
import javaroke.excepcion.DAOExcepcion;
import javaroke.modelo.Noticia;

public class GestionNoticia {

	public Noticia insertar(Noticia vo) throws DAOExcepcion {
		NoticiaDAO dao = new NoticiaDAO();
		return dao.insertar(vo);
	}

		// Listar Noticia
		
		public Collection<Noticia> listar() throws DAOExcepcion {
			NoticiaDAO dao = new NoticiaDAO();

			return dao.listar();
		}

	
}